package top.kaoshanji.p1ch06a;

/**
 * 代码清单-p1ch06a-100页a：一个简单构造器的演示
 * author kaoshanji
 * ^_^
 * create time 2025/3/7 20:29
 */
public class SimpleConstructor {

    public static void main(String[] args) {
        for (int i = 0; i < 10; i++) {
            new Rock();
        }
    }


}

class Rock {
    Rock () {
        System.out.println("Rock ");
    }
}
